package com.fc.authentication.modules.order.responsitory;

import com.fc.authentication.modules.order.domain.Order;
import com.fc.authentication.modules.order.domain.OrderItem;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by Sunny on 2018/6/30.
 */
public interface OrderItemRespository extends PagingAndSortingRepository<OrderItem, String>, JpaSpecificationExecutor<OrderItem> {

    List<OrderItem> findByOrderId(String orderId);

}
